package com.shadt.pay.model;

/**
 * 统一下单返回参数
 * @author SongR
 *
 */
public class OrderReturn {
	  //协议层
    private String return_code = "";//SUCCESS/FAIL    此字段是通信标识，非交易标识，交易是否成功需要查看result_code来判断
    private String return_msg = "";//返回信息，如非空，为错误原因、    签名失败、    参数格式校验错误
    //协议返回的具体数据（以下字段在return_code 为SUCCESS 的时候有返回）
    private String app_id;
    private String mch_id = "";
    private String nonce_str = "";
    private String sign = "";
    private String body;//商品或支付单简要描述
    private String result_code = "";//SUCCESS/FAIL
    private String err_code = "";//非必填
    private String err_code_des = "";//非必填
	public String getReturn_code() {
		return return_code;
	}
	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}
	public String getReturn_msg() {
		return return_msg;
	}
	public void setReturn_msg(String return_msg) {
		this.return_msg = return_msg;
	}
	public String getApp_id() {
		return app_id;
	}
	public void setApp_id(String app_id) {
		this.app_id = app_id;
	}
	public String getMch_id() {
		return mch_id;
	}
	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}
	public String getNonce_str() {
		return nonce_str;
	}
	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getResult_code() {
		return result_code;
	}
	public void setResult_code(String result_code) {
		this.result_code = result_code;
	}
	public String getErr_code() {
		return err_code;
	}
	public void setErr_code(String err_code) {
		this.err_code = err_code;
	}
	public String getErr_code_des() {
		return err_code_des;
	}
	public void setErr_code_des(String err_code_des) {
		this.err_code_des = err_code_des;
	}
}
